package org.jeecg.modules.qyxx.service.impl;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import org.jeecg.modules.qyxx.entity.BgMxYqsq;
import org.jeecg.modules.qyxx.mapper.BgMxYqsqMapper;
import org.jeecg.modules.qyxx.service.IBgMxYqsqService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;

/**
 * @Description: 逾期申报明细数据
 * @Author: ZJJ
 * @Date: 2021-06-11
 * @Version: V1.0
 */
@Service
// @DS("multi-datasource1")申报
public class BgMxYqsqServiceImpl extends MppServiceImpl<BgMxYqsqMapper, BgMxYqsq> implements IBgMxYqsqService {
    @Autowired
    private BgMxYqsqMapper bgMxYqsqMapper;

    @Override
    public Object mxYqsq(String djxh, String zsxm, String tjnd) {
        LambdaQueryWrapper<BgMxYqsq> wrapper = Wrappers.lambdaQuery(BgMxYqsq.class);
        wrapper.eq(BgMxYqsq::getDjxh, djxh).eq(BgMxYqsq::getZsxm,zsxm).eq(BgMxYqsq::getTjnd,tjnd);
        return bgMxYqsqMapper.selectList(wrapper);
    }
}
